﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace Net.Model.Entities.Enterprises
{
    [SugarTable("AppEnterpriseMenu", TableDescription = "企业菜单关联表")]
    public partial class AppEnterpriseMenu
    {
        public AppEnterpriseMenu() { }

        [Display(Name = "Id")]
        [SugarColumn(ColumnDescription = "Id", IsPrimaryKey = true, IsIdentity = true)]
        [Required(ErrorMessage = "请输入{0}")]
        public long Id { get; set; }

        [Display(Name = "企业Id")]
        [SugarColumn(ColumnDescription = "企业Id",IsNullable = false)]
        [Required(ErrorMessage = "请输入{0}")]
        public long EnterpriseId { get; set; }

        [Display(Name = "菜单Id")]
        [SugarColumn(ColumnDescription = "菜单Id",IsNullable = false)]
        [Required(ErrorMessage = "请输入{0}")]
        public long MenuId { get; set; }

        
    }
}
